sdconnection module

class sd.api.sdconnection.SDConnection(APIContext, handle, *args, **kwargs)

Bases: sd.api.sdapiobject.SDAPIObject

The class that contains information about a connection between an output property of a node to an input property of another node

disconnect() → None

Disconnect the current connection

getClassName() → str

Returns the most specific name of the class this APIObject is

getInputProperty() → Optional[sd.api.sdproperty.SDProperty]

Get the input property of the connected node

getInputPropertyNode() → Optional[SDNode]

Get the node that own the input property

getOutputProperty() → Optional[sd.api.sdproperty.SDProperty]

Get the output property of the node

getOutputPropertyNode() → Optional[SDNode]

Get the node that own the output property

release() → None

Releases an APIObject